Skip to content

Speed up CI: enable micromamba environment caching#30

Merged
gb119 merged 13 commits intomainfrom
copilot/stable-replace-conda-with-mamba
Mar 18, 2026
Merged

Speed up CI: enable micromamba environment caching#30
gb119 merged 13 commits intomainfrom
copilot/stable-replace-conda-with-mamba

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

The "Install Mamba environment" step was slow on every run because packages were re-downloaded and the environment re-solved from scratch each time.

Changes

  • cache-downloads: true — caches raw conda package tarballs so channels aren't re-fetched on repeat runs
  • cache-environment: true — caches the fully-solved environment directory; on a hit the entire solve + install phase is skipped

Cache keys are automatically derived from the test-env.yml hash and create-args (including Python version), so cache invalidation is automatic when dependencies change.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor actions to use mamba for faster execution Replace conda with mamba (micromamba) in CI workflows for faster execution Mar 18, 2026
Copilot AI requested a review from gb119 March 18, 2026 20:23
Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot AI changed the title Replace conda with mamba (micromamba) in CI workflows for faster execution Pin GitHub Actions to SHA hashes for supply chain security Mar 18, 2026
@github-actions
Copy link

Test Results

0 files   -   3  0 suites   - 3   0s ⏱️ - 9m 2s
0 tests  - 194  0 ✅  - 194  0 💤 ±0  0 ❌ ±0 
0 runs   - 582  0 ✅  - 582  0 💤 ±0  0 ❌ ±0 

Results for commit 3786d3d. ± Comparison against base commit 16eb450.

Copilot AI and others added 2 commits March 18, 2026 21:19
… test_is_zip for bytes with null bytes

Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot AI changed the title Pin GitHub Actions to SHA hashes for supply chain security Pin Actions to SHA hashes, switch to micromamba, fix test_is_zip for bytes input Mar 18, 2026
…ation step

Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot AI changed the title Pin Actions to SHA hashes, switch to micromamba, fix test_is_zip for bytes input Switch to micromamba in CI and fix test_is_zip crash on binary bytes input Mar 18, 2026
Co-authored-by: gb119 <4428426+gb119@users.noreply.github.com>
Copilot AI changed the title Switch to micromamba in CI and fix test_is_zip crash on binary bytes input Speed up CI: enable micromamba environment caching Mar 18, 2026
@gb119 gb119 marked this pull request as ready for review March 18, 2026 22:18
@gb119 gb119 merged commit 6cb282d into main Mar 18, 2026
8 of 9 checks passed
@gb119 gb119 deleted the copilot/stable-replace-conda-with-mamba branch March 18, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants